package com.ysf.cn.springbootshrio.controller;

import com.ysf.cn.springbootshrio.pojo.User;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author ysf
 * @date 2020/3/13 17:48
 */
@RestController
public class SwaggerController {

    @RequestMapping(value = "/hello",method = RequestMethod.GET)
    public User hello(){
        return new User();
    }


}
